All Questions
Tagged with csstheme-development
220 questions
1vote
1answer
2kviews
Twenty Twenty-Four Theme, where to put the personalized CSS style rules?
With this new theme there seem to be no way to write CSS style rules that work. CSS style files aren't loaded. and I find no space to modify CSS directly when editing the pages. But the "blocks&...
0votes
1answer
75views
Modifying posts based on category in TwentyTwentyTwo theme
This is quite a starter question. I want to change the style of all the posts in the "photos" category by adding custom CSS to the style.css file of my child theme. However, I cannot find any ...
0votes
0answers
145views
Align images to the left of the content
I am using WordPress 6.2 and the Twenty Twenty-Three theme. I am using a local version of WordPress so I am able to edit the style.css and other files. How can I make the left-aligned image blocks ...
0votes
0answers
122views
Image and font support missing in editor when deploying theme remotely
So I am starting to learn Wordpress development and today I uploaded my first custom theme from my local environment to the remote hosting server. My theme installed with no issues and I was ready to ...
0votes
1answer
103views
Wordpress search field won't get wider
I've tried everything I know how to get this input field to 100% but I can't seem to do it. It always stays at some stuck width. .search-field is the stock class and I've targeted that class using max-...
0votes
1answer
61views
Displaying images outside the content
I am trying to achieve to following design: This is what I got so far: I'd like to have the bottom images as in my design example. This is, how my single.php looks like. I just can't find a solution ...
0votes
1answer
15views
WordPress Animation Adjustments
I have a problem with my WordPress animations. https://cyals.com is the website Currently developing. I Use Elementor Page Builder to build my page. a man and a woman load with animations one by one ...
1vote
0answers
144views
How to check if a WordPress core block is active in sidebar
I have a widget area and I want to enqueue a stylesheet only if a core block is active in it. I tried the following code: // if has audio block. if (has_block('audio')) { wp_enqueue_style('audio-...
0votes
1answer
48views
Why my theme's css not working on another site
I work on my on theme based on Neve theme. First I had problem with scripts, because not working but i had to change their location from footer.php to header.php to everything was good. New some ...
0votes
1answer
39views
How do I use wp_nav_menu?
I try to add dynamically a menu which structure of css ul/li link look like that <ul class="navbar-nav ml-auto"> <li class="nav-item"> ...
0votes
0answers
271views
Advanced method to control cache of enqueued style/script
I have a WordPress website with medium-level traffic, ~10,000 unique visitors a day. Arround 30% of my daily visitors are recurrent. I constantly make some UI improvements: colors, font-size, ...
0votes
1answer
114views
How to create a robust and logic class naming system in WordPress theme developing?
What I want to achieve is developing a theme using the best WordPress CSS standards. How to create a robust and logic class naming system based on the one that already is in use in twenties theme ? It ...
2votes
0answers
683views
Wordpress 5.8 update problem custom theme styles are overridden by core styles common.min.css
After the automatic update to wordpress 5.8 today one of my custom themes displayed wrong styling in the frontend for custom webfonts, colors, font-sizes and other styles. After a quick check in the ...
0votes
1answer
41views
How can I wrap all blog posts image with <picture class="c-picture">
Excellent WordPress programmers, I'd like to resolve an image issue with my WordPress theme. I tried everything I could, but I couldn't find a solution. The issue is that my added blog posts images ...
-2votes
1answer
77views
Detect custom font size
When a user changes the Custom Font Size of a block, it inserts CSS on that HTML element directly with a style attribute on render. I expected there to be a class put on the element like has-font-size ...